

************************ 
************************ Figure 1

use "data\cz_figures", clear

gen DT = -D_t_US
sort DT
format DT %12.2f
spmap DT using "data\cz_coords.dta", id(id) fcolor(Greys) legend(pos(6) row(1) ring(3)) clnumber(8)
graph export "results\w6\f1A.png", replace


use "data\cz_figures", clear

gen DT = -D_t_MEX
sort DT
format DT %12.2f
spmap DT using "data\cz_coords.dta", id(id) fcolor(Greys) legend(pos(6) row(1) ring(3)) clnumber(8)
graph export "results\w6\f1B.png", replace






************************ 
************************ Figure A1

use "data\data1_regional.dta", clear

histogram D_t_US, bcolor(black) fcolor(cyan) bin(20) xtitle("Change in Tariff")
graph export "results\w6\fA1A.png", replace


histogram D_t_MEX, bcolor(black) fcolor(magenta) bin(20) xtitle("Change in Tariff")
graph export "results\w6\fA1B.png", replace



************************ 
************************ Figure A2


use "data\cz_figures", clear

spmap HHC using "data\cz_coords.dta", id(id) fcolor(gs15 gs9) legend(off) clnumber(2)

graph export "results\w6\fA2.png", replace

